﻿namespace BBICMS.Infrastructure.Configs
{
    public class SettingsManager
    {
        public static GlobalSettings Site
        {
            get
            {
                return SettingLoader.LoadConfig<GlobalSettings>();
            }
        }

        public static FileSettings File
        {
            get
            {
                return SettingLoader.LoadConfig<FileSettings>();
            }
        }

        public static CategorySettings Category
        {
            get
            {
                return SettingLoader.LoadConfig<CategorySettings>();
            }
        }
        public static ProductSettings Product
        {
            get
            {
                return SettingLoader.LoadConfig<ProductSettings>();
            }
        }
        public static ArticleSettings Article
        {
            get
            {
                return SettingLoader.LoadConfig<ArticleSettings>();
            }
        }

        public static WorkSettings Work
        {
            get
            {
                return SettingLoader.LoadConfig<WorkSettings>();
            }
        }

        public static DocumentSettings Document
        {
            get
            {
                return SettingLoader.LoadConfig<DocumentSettings>();
            }
        }
        public static PageSettings Page
        {
            get
            {
                return SettingLoader.LoadConfig<PageSettings>();
            }
        }
        public static PageMetaSettings PageMeta
        {
            get
            {
                return SettingLoader.LoadConfig<PageMetaSettings>();
            }
        }

        public static CarouselSettings Carousel
        {
            get
            {
                return SettingLoader.LoadConfig<CarouselSettings>();
            }
        }
        public static LogSettings Log
        {
            get
            {
                return SettingLoader.LoadConfig<LogSettings>();
            }
        }

        public static ContactSettings Contact
        {
            get
            {
                return SettingLoader.LoadConfig<ContactSettings>();
            }
        }

        public static SocialSettings Social
        {
            get
            {
                return SettingLoader.LoadConfig<SocialSettings>();
            }
        }
        

        public static RoleSettings Role
        {
            get
            {
                return SettingLoader.LoadConfig<RoleSettings>();
            }
        }

        public static UserSettings User
        {
            get
            {
                return SettingLoader.LoadConfig<UserSettings>();
            }
        }

        public static MenuSettings Menu
        {
            get
            {
                return SettingLoader.LoadConfig<MenuSettings>();
            }
        }

        public static SMTPSettings SMTP
        {
            get
            {
                return SettingLoader.LoadConfig<SMTPSettings>();
            }
        }

      
        public static WeiXinSettings WeiXin
        {
            get
            {
                return SettingLoader.LoadConfig<WeiXinSettings>();
            }
        }

    }
}
